package com.baiduspring.service.article.impl;

import com.baiduspring.dao.mapper.ArticleMapper;
import com.baiduspring.service.article.ArticleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ArticleServiceImpl implements ArticleService {
    @Resource
    private ArticleMapper articleMapper;

    @Override
    public Long count() {
        return articleMapper.count();
    }
}
